[PATCH] lib-regex: Do not use data stack for replacement string
authorAki Tuomi <aki.tuomi@open-xchange.com>
Mon, 26 Jan 2026 07:47:16 +0000 (09:47 +0200)
committerNoah Meyerhans <noahm@debian.org>
Wed, 4 Feb 2026 16:09:21 +0000 (11:09 -0500)
commit1bac2b97290bd022a5af839d7a43b487596aadf4
tree1eb870c2029abbee5eff6fc8265642f44aace354
parent406a89f1757ab8368fe1cf3040206675091feab3
[PATCH] lib-regex: Do not use data stack for replacement string

It will get lost when the data stack frame is dropped at the end,
so use heap memory instead.

Gbp-Pq: Name lib-regex-Do-not-use-data-stack-for-replacement-stri.patch
src/lib-regex/regex.c